package com.smartcampusbackend.service;

import java.util.Map;

public interface AlipayService {
    // 创建支付宝支付订单
    Map<String, Object> createPayment(String outTradeNo, String subject, String totalAmount);
    
    // 验证支付宝回调签名
    boolean verifyCallback(Map<String, String> params);
    
    // 处理支付宝支付成功回调
    boolean handlePaymentSuccess(String outTradeNo, String tradeNo, String totalAmount);
    
    // 查询支付宝订单状态
    Map<String, Object> queryOrderStatus(String outTradeNo);
    
    // 获取配置信息
    String getAppId();
    String getGatewayUrl();
    String getNotifyUrl();
} 